package com.linked.basemanage.permissioncontrol.bean.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author :dbq
 * @date : 2023/2/22 15:39
 * @description : desc
 */
@Data
@TableName("basemanage_role_power")
public class RolePowerPO {

    @TableId(value = "role_power_id",type = IdType.ASSIGN_UUID)
    private String rolePowerId;
    @TableField("role_id")
    private String roleId;
    @TableField("power_id")
    private String powerId;
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @TableField("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    @TableField("data_status")
    private Integer dataStatus;
    @TableField("create_user_id")
    private String createUserId;
    @TableField("update_user_id")
    private String updateUserId;

}
